package dao;

import bean.Student;

import java.util.List;

public interface StudentDao {
    List<Student> getStudentsAll();
    Student getStudentsById(String Son);
    List<Student> getStudentsByName(String Sname);
    int addStudent(Student student);
    int updateStudent(Student student);
    int deleteStudent(String Son);
}
